﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObjectModel
{
	[Table(Name="products")]
    public class Product : BaseEntity<Product>
    {
		[Field(Name="name")]
        public String Name { get; set; }

		[Field(Name = "description")]
		public String Description { get; set; }

		[Field(Name = "begin_date")]
		public DateTime BeginDate { get; set; }

		[Field(Name = "end_date")]
		public DateTime EndDate { get; set; }
		//public List<Project> Projects { get; set; }

		[Field(Name = "estimated_begin")]
		public DateTime EstimatedBegin{ get; set; }

		[Field(Name = "estimated_end")]
		public DateTime EstimatedEnd{ get; set; }

    }
}
